package com.cloud.job.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.api.domain.job.EvStatistics;
import com.cloud.api.domain.stats.VehicleDataRepair;
import com.cloud.api.domain.tsp.VehicleData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 杨斌
 * 2025-01-2025-01-14
 */
@DS("doris")
public interface VehicleDataMapper extends BaseMapper<VehicleData> {

    List<EvStatistics> getVehicleStatistics();

    List<VehicleDataRepair> selectData(@Param("minLat") double minLat, @Param("minLng")double minLng, @Param("maxLat")double maxLat, @Param("maxLng") double maxLng);

}
